package com.ztgf.commodity.models.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import com.ztgf.common.bo.BaseBO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * author: chenyu.wang
 * date: 2020-05-27 17:44
 * Description:
 */
@Data
public class CommoditySellerVO extends BaseBO implements Serializable {


    @ApiModelProperty(value = "id")
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty(value = "商品名称")
    private String commodityName;
    @ApiModelProperty(value = "商品编号")
    private String commodityNumber;
    @ApiModelProperty(value = "店铺id")
    private Long shopId;
    @ApiModelProperty(value = "上架;0未上架、1已上架")
    private Integer isPublish;
    @ApiModelProperty(value = "价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal price;
    @ApiModelProperty(value = "是否删除;0未删除、1删除")
    private Integer status;
    @ApiModelProperty(value = "审核状态：0审核中，1审核通过，2审核打回，3审核不通过,4重新提交")
    private Integer auditStatus;
    @ApiModelProperty(value = "库存")
    private Integer inventoryNumber;
    @ApiModelProperty(value = "是否平台下架，0否，1是")
    private Integer isPlatformShelf;
    @ApiModelProperty(value = "打回原因")
    private String returnReason;
    @ApiModelProperty(value = "平台删除原因")
    private String deleteReason;
    @ApiModelProperty(value = "平台下架原因")
    private String shelfReason;
    @ApiModelProperty(value = "分类id")
    private Long categoryId;
    @ApiModelProperty(value = "是否询价，0否，1是")
    private Integer isInquiry;
    @ApiModelProperty(value = "是否京东商品，0否，1是")
    private Integer jdFlag;

}
